import request from '@/utils/request'
///mes/base/workshop/listN 车间
export function selectWorkShop() {
  return request({
    url: '/mes/base/workshop/listN?workshopType=1',
    headers: {
      isToken: false
    },
    method: 'get',
    timeout: 20000
  })
}

///mes/base/line/listN   产线列表
export function selectLine(id) {
  return request({
    url: '/mes/base/line/listN/' + id,
    headers: {
      isToken: false
    },
    method: 'get',
    timeout: 20000
  })
}